char c[101],d[51];main(n,w){for(gets(c);gets(c);puts(d))for(n=w=0;d[w]=c[n];n++)w+=n%2?1:!putchar(c[n]);}
